package com.mms.entity;

/**
 * Message entity. @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

    // Fields

    private Integer MId;
    private Meeting meeting;
    private Integer SId;
    private Integer MType;

    // Constructors

    /** default constructor */
    public Message() {
    }

    /** minimal constructor */
    public Message(Integer MId) {
        this.MId = MId;
    }

    /** full constructor */
    public Message(Integer MId, Meeting meeting, Integer SId, Integer MType) {
        this.MId = MId;
        this.meeting = meeting;
        this.SId = SId;
        this.MType = MType;
    }

    // Property accessors

    public Integer getMId() {
        return this.MId;
    }

    public void setMId(Integer MId) {
        this.MId = MId;
    }

    public Meeting getMeeting() {
        return this.meeting;
    }

    public void setMeeting(Meeting meeting) {
        this.meeting = meeting;
    }

    public Integer getSId() {
        return this.SId;
    }

    public void setSId(Integer SId) {
        this.SId = SId;
    }

    public Integer getMType() {
        return this.MType;
    }

    public void setMType(Integer MType) {
        this.MType = MType;
    }

}